
package com.cptravel.api;

import java.util.Map;

import android.widget.ProgressBar;

import com.core.api.ApiListenrDefaultImpl;
import com.core.api.B5MBaseRequest;

/**
 * @author yushilong
 * @date 2014-10-23 下午2:48:13
 * @version 1.0
 */
public class CancelorderRequest extends B5MBaseRequest<CancelorderResponse>
{
    public String orderid;

    public CancelorderRequest(ApiListenrDefaultImpl apiListenrDefaultImpl, ProgressBar progressBar)
    {
        super(apiListenrDefaultImpl, progressBar);
        // TODO Auto-generated constructor stub
    }

    @Override
    public Class<CancelorderResponse> getResponseClass()
    {
        // TODO Auto-generated method stub
        return CancelorderResponse.class;
    }

    @Override
    public String getApiMethod()
    {
        // TODO Auto-generated method stub
        return "cancelorder";
    }

    @Override
    public void setApiBody(Map<String, Object> body)
    {
        // TODO Auto-generated method stub
        body.put("orderid", orderid);
    }
}
